$controls/header()$
$controls/navigation()$ 
<script src="scripts/ajax.js"></script>
<script src="scripts/board.js"></script>
<script src="scripts/ubb.js"></script>
<script src="scripts/ubbeditor.js"></script>
$if(HasAnnouncement)$
<div class="bulletin">
<div class="forumno" id="bulletin" $if(ShowManagePanel)$ onDblClick="modifybulletin($Board.Id$);"$endif$>$Board.Announcement$</div>
</div>
$else$
$if(ShowManagePanel)$
<div class="bulletin">
<div class="forumno" id="bulletin" onDblClick="modifybulletin($Board.Id$);"></div>
</div>
$endif$
$endif$
$if(Board.HasChild)$
<p class="partition"></p>
<script language="javascript" src="scripts/index.js"> 
</script>
$controls/tableheader(
Caption="本版包含子版面", 
ElementId="child"
)$
$if(Board.ChildHorizontal)$
<table cellspacing="0" class="inner">
$Board.Rows:{r|
<tr class="forumtd">
$r.Cells:{b|
<td class="rowOne boardstyle$b.Id$">
$if(b.Empty)$
&nbsp;
$else$
$if(b.HasIcon)$<a href="{url:board.aspx?boardid=$b.Id$}"><img src="{IMGDIR}/$b.Icon$" alt="$b.BoardName$" /></a>$else$
$if(b.HasNew)$ <img src="{IMGDIR}/board_hasnew.gif" alt="有新帖" /> $else$ <img src="{IMGDIR}/board_nonnew.gif" alt="无新帖" /> $endif$
$endif$
$endif$</td>
<td class="rowTopic" style="$Board.Width$%">$if(b.Empty)$&nbsp;$else$ <span class="t3"><a href="{url:board.aspx?boardid=$b.Id$}" title="$b.Description$">$b.BoardName$</a></span>&nbsp;$if(b.HasTodayNew)$<span class="small t1" title="今日新帖">($b.TodayPosts$)</span>$endif$<br />
主题: <span class="small t2">$b.Topics$</span>&nbsp;-&nbsp;回帖: <span class="small t2">$b.Replies$</span><br />
<div>标题:&nbsp;<span class="t2">$if(b.HasLastTopic)$<a href="{url:topic.aspx?topicid=$b.LastTopicId$&page=65535}" title="时间:$b.LastTopicTime$&#10会员:$if(b.HasLastTopic)$$b.LastTopicAuthor$$else$……$endif$">$b.LastTopicTitle$</a>$else$
……
$endif$</span></div>$endif$</td>
}$
</tr>
}$
</table>
$else$
<table cellspacing="0" class="inner">
<tr class="category forumtd">
<td class="rowOne">&nbsp;</td>
<td class="rowTwo">论坛</td>
<td class="rowThree">最后回复</td>
<td class="rowFour">帖子统计</td>
<td class="rowFive">&nbsp;</td>
</tr>
$Board.ChildBoards:{b|
<tr class="forumtd boardstyle$b.Id$">
<td class="rowOne">
$if(b.HasNew)$<img src="{IMGDIR}/board_hasnew.gif" alt="有新帖" /> $else$ <img src="{IMGDIR}/board_nonnew.gif" alt="无新帖" /> $endif$</td>
<td class="rowTwo">
<div>$if(b.HasIcon)$<a href="{url:board.aspx?boardid=$b.Id$}"><img src="{IMGDIR}/$b.Icon$" alt="$b.BoardName$" /></a>$endif$&nbsp;</div>
<span class="t3"><a href="{url:board.aspx?boardid=$b.Id$}">$b.BoardName$</a></span> $if(b.HasTodayNew)$<span class="small t1" title="今日新帖">($b.TodayPosts$)</span>$endif$ <br />
<p class="t2">$b.Description$</p></td>
<td class="rowThree">
<div>&rsaquo;&rsaquo;&nbsp;$if(b.HasLastTopic)$<a href="{url:topic.aspx?topicid=$b.LastTopicId$&page=65535}" title="最后回复：$if(b.HasLastTopic)$$b.LastTopicAuthor$$else$……$endif$">$b.LastTopicTitle$</a>$else$
……
$endif$<br />
&rsaquo;&rsaquo;&nbsp;$if(b.HasLastTopic)$<span class="t2 small">$b.LastTopicTime$</span>$else$
……
$endif$</div></td>
<td class="rowFour">
主题: <span>$b.Topics$</span><br />
回帖: <span>$b.Replies$</span></td>
<td class="rowFive">
<a href="###" title="子版" onclick="extend('child$b.Id$')"><img src="{IMGDIR}/icon/subclass.gif" alt="子版" /></a><br />
<a href="###" title="版主" onclick="extend('extend$b.Id$')"><img src="{IMGDIR}/icon/moderator.gif" alt="版主" /></a></td>
</tr>
<tr style="display:none;" class="forumtd" id="extend$b.Id$">
<td>&nbsp;</td>
<td colspan="4">
版主：$b.Moderators:{m|<span class="t5"><a href="{url:profile.aspx?uid=$m.UID$}">$m.Username$</a></span>&nbsp;}$</td>
</tr>
<tr style="display:none;" class="forumtd" id="child$b.Id$">
<td>&nbsp;</td>
<td colspan="4">
子版：$b.ChildBoards:{cb|<span class="t5">&rsaquo;&rsaquo; <a href="{url:board.aspx?boardid=$cb.Id$}">$cb.BoardName$</a></span>&nbsp;}$</td>
</tr>
}$
</table>
$endif$
$controls/tablefooter()$
$endif$
<p class="partition"></p>
<div class="topboard">
<div class="left"><a href="{url:post.aspx?boardid=$Board.Id$}"><img src="{IMGDIR}/button/newtopic.gif" alt="发表主题" /></a></div>
$Pager$
</div>

<form action="search.aspx" method="GET" name="BoardForm" id="BoardForm" onSubmit="return checkboard();">
<div class="boardheader">
<div class="subject">
<ul class="left">
<li><a href="{url:board.aspx?boardid=$Board.Id$&view=all}">所有主题</a></li>
<li><a href="{url:board.aspx?boardid=$Board.Id$&view=elited}">精华帖</a></li>
<li><a href="{url:board.aspx?boardid=$Board.Id$&view=hot}">热门帖</a></li>
$Board.Subjects:{s|
<li><a href="{url:board.aspx?boardid=$Board.Id$&subjectid=$s.Id$}">$s.SubjectName$</a></li>
}$
</ul>
<ol class="right">
<li><a href="{url:collect.aspx?type=board&id=$Board.Id$}">收藏本版</a></li>
<li><a href="javascript:location.reload();">刷新</a></li>
</ol>
</div>
</div>
$controls/tableheader(
Caption=Board.BoardName,
ElementId="boardlist"
)$
<div class="searchcol col">
<div class="left">本版版主：$Board.Moderators:{m|
 &rsaquo;&rsaquo; <a href="{url:profile.aspx?uid=$m.UID$}">$m.Username$</a>&nbsp;&nbsp;
}$</div>
<div class="right an"><input name="keyword" type="text" class="input2" id="keyword" onFocus="this.className='input1'" onBlur="this.className='input2'" maxlength="50" />
&nbsp;<input type="image" class="smallbox" src="{IMGDIR}/icon/button.gif" /><input type="hidden" name="boardid" value="$Board.Id$" /><input type="hidden" name="type" value="body" /></div>
</div>
<table cellspacing="0" class="inner">
<tr class="category forumtd">
<td class="boardOne">作者</td>
<td class="boardTwo">&nbsp;</td>
<td class="boardThree">主题</td>
<td class="boardFour">&nbsp;</td>
<td class="boardFive">最后回复</td>
</tr>
</table>
$if(ShowTopped)$
<table cellspacing="0" class="inner topped">
$ToppedTopics:controls/topicrow()$
<tr class="themesLine">
<td colspan="5">&nbsp;</td>
</tr>
</table>
$endif$
<table cellspacing="0" class="inner">
$Topics:controls/topicrow()$
</table>
<div class="subject subject_bottom">
<div class="left">
$if(ShowManagePanel)$ 
<select onmousewheel="return false" onChange="operate(this.value)">
	<option selected="selected" value="">管理所选主题...</option>
	<option value="">---------------------</option>
	<option value="up">上浮</option>
	<option value="down">下沉</option>
	<option value="unud">取消沉浮</option>
	<option value=""></option>
	<option value="subjectify">转移专题</option>
	<option value="move">转移版面</option>
	<option value="delete">删除</option>
	<option value=""></option>
	<option value="lock">锁定</option>
	<option value="btop">版置顶</option>
	<option value="ctop">区置顶</option>
	<option value="atop">总置顶</option>
	<option value="elite">设为精华</option>
	<option value=""></option>
	<option value="unlock">解锁</option>
	<option value="untop">取消置顶</option>
	<option value="unelite">取消精华</option>
</select>
<select onmousewheel="return false" onChange="decorate(this.value)">
	<option selected="selected" value="">修饰所选标题...</option>
	<option value="">------------------------</option>

	<option value="cancel">取消所有修饰</option>
	 
	<option value="color:red" style="color:red">标题 = 红色</option>
	<option value="color:green" style="color:green">标题 = 绿色</option>
	<option value="color:blue" style="color:blue">标题 = 蓝色</option>
	<option value="color:coral" style="color:coral">标题 = 橙色</option>
	<option value="color:mediumorchid" style="color:mediumorchid">标题 = 紫色</option>
	<option value="color:red;font-weight:bold" style="color:red;font-weight:bold">标题 = 红色 + 粗</option>
	<option value="color:green;font-weight:bold" style="color:green;font-weight:bold">标题 = 绿色 + 粗</option>
	<option value="color:blue;font-weight:bold" style="color:blue;font-weight:bold">标题 = 蓝色 + 粗</option>
	<option value="color:coral;font-weight:bold" style="color:coral;font-weight:bold">标题 = 橙色 + 粗</option>
	<option value="color:mediumorchid;font-weight:bold" style="color:mediumorchid;font-weight:bold">标题 = 紫色 + 粗</option>
	<option value="color:gray" style="color:#666666">标题 = 灰色</option>
</select>
$endif$
</div>
<div class="right">

<select id='boardjump' name='boardjump' onmousewheel='return false' onchange='jump(this)'>
	<option value='-1' selected='selected'>论坛快速跳转...</option>
    $BoardStruct$
</select>
</div>
</div>
$controls/tablefooter()$
</form>
<div class="topboard">
<div class="left"><a href="{url:post.aspx?boardid=$Board.Id$}"><img src="{IMGDIR}/button/newtopic.gif" alt="发表主题" /></a></div>
$Pager$
</div>
$Editor$
$if(ShowOnline)$

$controls/tableheader(
Caption="正在浏览此版面者 (本版面共 " + Users + " 位会员和 " + Guests + "位游客)",
ElementId="onlinelist"
)$
$if(ShowOnlineList)$
<table cellspacing="0" class="inner">
<tr class="forumtd">
<td>$controls/cutline()$</td>
</tr>
</table>
$endif$
$controls/tablefooter()$
$endif$
<div class="bottom">
<div class="left"><img src="{IMGDIR}/icon/topic_topped3.gif" />总置顶<img src="{IMGDIR}/icon/topic_topped2.gif" />区置顶<img src="{IMGDIR}/icon/topic_topped1.gif" />版置顶<img src="{IMGDIR}/icon/topic_elited.gif" />精华<img src="{IMGDIR}/icon/topic_hot.gif" />热门<img src="{IMGDIR}/icon/topic_normal.gif" />普通<img src="{IMGDIR}/icon/topic_locked.gif" />锁定<img src="{IMGDIR}/icon/topic_vote.gif" />投票</div>
<div class="right"><a href="{url:abandon.aspx?action=removeall}">删除论坛Cookies</a> - <span class="t1"><a href="#" class="small">WAP</a></span> - <a href="#" class="small">TOP</a></div>
</div>
$controls/footer()$